import Vue from 'vue'
import App from './App.vue'

//引入路由
import router from './router'
//引入element组件库
import ElementUi from 'element-ui'
Vue.use(ElementUi)
import 'element-ui/lib/theme-chalk/index.css'
//引入axios
import axios from 'axios'
Vue.prototype.axios = axios;
//less引入
import less from 'less'
Vue.use(less)

//在main.js中引入定义的接口这样所有的界面都能请求接口
import "@/mock/index.js"
Vue.config.productionTip = false

//引入vuex store实例
import store from '@/store/index'

//引入视频插件
import Player from 'vue-video-player'
import 'video.js/dist/video-js.css'
Vue.use(Player)
new Vue({
  render: h => h(App),
  router,
  store,
  components: {
    
  },
}).$mount('#app')
